<?php
$this->headMeta()->appendHttpEquiv('Content-Type','text/html;charset=utf-8');
$this->headTitle()->setSeparator(' - ');
$this->headTitle('CI');
echo $this->doctype();
$auth = Zend_Auth::getInstance()->getIdentity();
?>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <base href="<?php echo BASE_URL;?>" />
        <?php echo $this->headMeta(); ?>
        <?php echo $this->headTitle(); ?>
        <link rel="shortcut icon" href="image/favicon.png"/>
        <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
        <link type="text/css" rel="stylesheet" media="all" href="css/style.css" />
        <script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
    	<script type="text/javascript" src="js/jquery.cookie.js"></script>
    	<link href="jquery-ui-1.10.2.custom/css/smoothness/jquery-ui-1.10.2.custom.min.css" rel="stylesheet"/>
        <script src="jquery-ui-1.10.2.custom/js/jquery-ui-1.10.2.custom.min.js"></script>
        <script src="/js/jquery-ui-timepicker-addon.js"></script>
        <script src="/js/jquery.mtz.monthpicker.js"></script>
        <script type="text/javascript" src="js/scripts.js"></script>
        
    </head>
    <body>
        <div class="body">
            <div id="wrapper">
                <div id="zone-head">
                    <div class="menu-admin">
                        <?php  echo $this->partial('menuAdmin.phtml', array('auth' => $auth)); ?>
                        <div class="clear-both"></div>
                    </div>
                    <div class="menu-game">
                        <?php  echo $this->partial('menuGame.phtml', array('auth' => $auth)); ?>
                        <div class="clear-both"></div>
                    </div>
                    <?php
                        $params = Zend_Controller_Front::getInstance()->getRequest();
                        if($params->getParam('game')){
                            $gameId = $params->getParam('game');
                    ?>
                        <?php  echo $this->partial('logoGame.phtml', array('gameId' => $gameId)); ?>
                    <?php
                        }else{
                    ?>
                        <div class="kpi-title">
                            <h1>Customer information lookup system (CI)</h1>
                            <div class="clear-both"></div>
                        </div>
                    <?php
                        }
                    ?>
                    <div class="clear-both"></div>
                </div>
                <div id="zone-main">
                    <?php echo $this->layout()->content; ?>
                    <div class="clear-both"></div>
                </div>
            </div>
        </div>
        <div class="footer">
            <div id="zone-bot">
                <div class="coryright">Bản quyền &copy;2013 ssgroup.com.vn</div>
                <div class="clear-both"></div>
            </div>
        </div>
        <div class="loading-please-wait"></div>
    </body>
</html>